package com.fenqile.pop.enums;

/**
 * SKU 状态
 * 
 * @author Coby [cobylin@live.com] 2017
 */
public enum SkuStatus implements IntValueEnum<SkuStatus> {
	
	/**
	 * 0
	 * 即将上架
	 */
	COMESOON(0, "即将上架"),
	
	/**
	 * 10
	 * 已上架
	 */
	UPPED(10, "已上架"),
	
	/**
	 * 13
	 * 已下架
	 */
	DOWNED(13, "已下架"),
	
	/**
	 * 14
	 * 已删除
	 */
	DELETED(14, "已删除"),
	;
	
	private final int intValue;
	private final String name;

	private SkuStatus(final int intValue, final String name) {
		this.intValue = intValue;
		this.name = name;
	}
	
	@Override
	public String getName() {
		return name;
	}

	@Override
	public int intValue() {
		return intValue;
	}

}
